const fs = require("fs");
const path = require("path");
// const res = fs.readFileSync(path.join(__dirname, "files", "01e.txt"), "utf-8");
// console.log(res);
// 同步

//   异步读取;
fs.readFile(path.join(__dirname, "files", "01.txt"), "utf-8", (err, data) => {
  if (err) {
    return console.log(err);
  }
  console.log(data);
});

c;
